package com.seed.uaa.tenant.web;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "租户角色关联")
@Table(value = "uaa_tenant_role")
public class TenantRole {
    @Id
    @Schema(title = "ID")
    private String id;

    @Schema(title = "租户")
    private String tenantId;

    @Schema(title = "角色")
    private String roleId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
